const { body } = require('express-validator');

exports.userValidationRules = [
    body('username')
        .trim()
        .isLength({ min: 4 })
        .escape()
        .withMessage('用户名最少为4个字符')
]
